package com.share.rules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.rules.api.domain.FeeRule;
import com.share.rules.api.domain.FeeRuleRequestForm;
import com.share.rules.api.domain.FeeRuleResponseVo;

import java.util.List;

public interface IFeeRuleService extends IService<FeeRule> {

    /**
     * 查询费用规则列表
     */
    List<FeeRule> selectFeeRuleList(FeeRule feeRule);

    /**
     * 获取全部费用规则
     */
    List<FeeRule> getALLFeeRuleList();

    /**
     * 计算订单费用
     */
    FeeRuleResponseVo calculateOrderFee(FeeRuleRequestForm calculateOrderFeeForm);
}
